package com.foreknow.oop3;

/**
 * 订单项
 */
public class OrderItem {
  private String pname;//书名
  private double pprice;//图书的单价
  private int num;//购买数量

  public String getPname() {
    return pname;
  }

  public void setPname(String pname) {
    this.pname = pname;
  }

  public double getPprice() {
    return pprice;
  }

  public void setPprice(double pprice) {
    this.pprice = pprice;
  }

  public int getNum() {
    return num;
  }

  public void setNum(int num) {
    this.num = num;
  }
}
